Add project visibility transition guard#378
Open
taherdhanera wants to merge 1 commit into
Open
Conversation
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
/claim #11
Summary
Adds
project-visibility-transition-guard, a self-contained User & Project Management slice that checks private, institutional-only, or invitation-only scientific workspaces before public visibility changes are applied.The guard evaluates:
Non-overlap
This is not a broad workspace/RBAC ledger, privacy access review, identity recovery guard, member lifecycle/offboarding flow, institutional recertification, anonymous-review escrow, identity merge/export, data-room consent ledger, researcher profile sync, archive handoff, access-audit anomaly monitor, role delegation guard, invitation-domain/MFA guard, funding-attribution guard, service-token governance guard, deletion/erasure guard, break-glass access guard, or contribution-credit gate. It focuses specifically on safe public visibility transitions.
Local validation
Run from
project-visibility-transition-guard/:npm run check npm test npm run demo npm run demo:videoAll four commands passed locally.
Reviewer artifacts
reports/summary.jsonreports/reviewer-packet.mdreports/summary.svgreports/demo.webmSafety
All data is synthetic. The module does not call OAuth, SAML, ORCID, storage, profile, permission, email, audit-log, or external services. It does not include private project data, credentials, real users, human-subject records, or access-control mutations.